package com.imooc.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.validation.constraints.NotEmpty;

/**
 * <h1></h1>
 *
 * @author : dzj
 * @create: 2022-02-15 08:11
 */
@Data
@ApiModel(value = "用户登录对象", description = "用户登录BO")
public class UserLoginBo {
    @NotEmpty
    @ApiModelProperty(name = "username")
    private String username;
    @NotEmpty
    @ApiModelProperty(name = "password")
    private String password;
}
